package com.consult.service.impl;

import com.consult.config.dto.LoginDto;
import com.consult.entity.Student;
import com.consult.mapper.StudentMapper;
import com.consult.service.IStudentService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * ѧ 服务实现类
 * </p>
 *
 * @author ${author}
 * @since 2021-06-22
 */
@Service
public class StudentServiceImpl extends ServiceImpl<StudentMapper, Student> implements IStudentService {

    @Override
    public LoginDto getByUserName(String name) {
        return baseMapper.getByUserName(name);
    }
}
